package com.sptus.system.domain.alarm;

public class Fault {
    private final String code;
    private final String english;
    private final String chinese;

    public Fault(String code, String english, String chinese) {
        this.code = code;
        this.english = english;
        this.chinese = chinese;
    }

    public String getCode() {
        return code;
    }

    public String getEnglish() {
        return english;
    }

    public String getChinese() {
        return chinese;
    }

    @Override
    public String toString() {
        return String.format("%s: %s (%s)", code, english, chinese);
    }
}